package cn.xmy.demo01.pojo;

import java.io.Serial;
import java.io.Serializable;

public class Products implements Serializable {

    @Serial
    private static final long serialVersionUID = 319377827714646944L;

    private String id;
    private String name;

    private String price;
    private String image;

    public Products() {

    }
    public Products(String id, String name, String price, String image) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.image = image;

    }
    public String getId() {
        return id;

    }
    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;

    }
    public void setName(String name) {
        this.name = name;
    }
    public String getPrice() {
        return price;
    }
    public void setPrice(String price) {
        this.price = price;
    }
    public String getImage() {
        return image;
    }
    public void setImage(String image) {
        this.image = image;
    }
}
